Band-based printing control system

ABSTRACT

In an output method and output apparatus, one page of text data is divided into portions corresponding to bands of the print image of the page. Each portion of data is serially developed as a high-density image (600 dpi) on a bit map memory, and then is serially printed. One page of graphic data is, as a whole, developed as a low-density image (300 dpi) on the bit map memory. The low-density image is smoothed before output.

This application is a continuation of Application Ser. No. 07/871,738 filed Apr. 21, 1992, now abandoned.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an output method and an apparatus employing such a method which requires a relatively small memory capacity in order to output information received from a host computer as high-density data.

2. Description of the Related Art

Output apparatuses such as laser beam printers are generally used to output data from computers. Laser beam printers of low density, e.g. 300 dpi, have been increasingly employed because of their quiet operation, reasonable price and compact size.

Recently, the development of a higher-density printer engine unit has been undertaken in order to further upgrade the print quality. A high-density printer engine of 600 dpi has now been developed. A printer controller for such a printer engine analyzes printing information sent to it and, according to the analysis, develops the printing information over the bit map memory, at a designated density. In the known art, it is required for the printer controller to have a bit map memory capacity corresponding to the print density of the printer engine connected thereto. For example, the memory of the controller connected to a printer engine of 600 dpi is required to be four times as large as that of the controller connected to a printer engine of 300 dpi.

Since a controller for high-density printing (600 dpi) must employ a bit map memory four times as large as that employed by a controller for low-density printing (300 dpi), a high-density (600 dpi) laser beam printer employing such a controller and engine becomes rather large and expensive, especially in a situation where color or half-tone images are to be formed.

SUMMARY OF THE INVENTION

It is an object of the present invention to solve the above-mentioned problems by providing an output method and an apparatus wherein data received, e.g. from a host computer, is analyzed, and wherein, according to the analysis, one page of the data of text description is divided into portions (or bands) to be serially developed as a high-density image (600 dpi) on the bit map memory (band processing) and to be serially printed, and one page of the data of graphic description is developed as a low-density image (300 dpi) on the bit map memory and is smoothed before output.

Another object of the present invention is to provide an output method and an output apparatus wherein highly-defined printing can be performed by a high-density (600 dpi) laser beam printer employing a bit map memory having the same capacity as the bit map memory employed in a conventional printer controller of low-density printing (300 dpi)

Still another object of the present invention is to provide an output method comprising the steps of: analyzing print data, e.g., from a host computer, to determine whether it is text data or graphic data; developing text data as dot patterns of high resolution; and developing graphic data as dot patterns of low resolution.

A further object of the present invention is to provide an output apparatus comprising: an analyzing means for analyzing print data inputted thereto; and a developing means which, according to the analysis by the analyzing means, develops test data as dot patterns of high resolution and graphic data as dot pattern of low density.

Further objects, features and advantages of the present invention will become apparent in the following description of the preferred embodiments with reference to the attached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of the basic construction of a printing apparatus according to one embodiment of the present invention.

FIG. 2, comprising FIGS. 2(A) and 2(B), is a flowchart of printing control according to the embodiment illustrated in FIG. 1.

FIG. 3 illustrates a bit map memory for graphic data.

FIG. 4 illustrates a bit map memory for text data.

FIG. 5, comprising FIGS. 5(A) and 5(B), is a flowchart of printing control according to another embodiment of the present invention.

FIG. 6 illustrates the internal construction of a laser beam printer according to the present invention.

FIG. 7 shows exemplary commands.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

One Embodiment

FIG. 6 shows a laser beam printer (referred to as "an LBP" hereinafter) according to this embodiment, which is able to register character patterns and form data received from a data source, i.e. a host computer (not shown).

Referring to FIG. 6, an LBP 1000 (corresponding to numeral 2 in FIG. 1) receives and stores the information from a host computer (denoted by numeral 1 in FIG. 1), e.g. character information (character code), form data and macro instructions. According to the information, the LBP 1000 generates character patterns, form patterns, etc., to form an image on a recording medium such as recording paper. An operation panel 1012 has a switch, an LED display, etc. arranged thereon. A printer control unit 1001 performs overall control of the LBP and analyzes information, such as character information, received from the host computer. The printer control unit 1001 converts the character data into video signals of the corresponding character patterns and sends the video signals to a laser driver 1002.

The laser driver 1002 is a circuit which drives a semiconductor laser 1003. According to the video signals from the printer control unit 1001, the laser driver 1002 switches on and off the laser beam emission of the semiconductor laser 1003. The laser beam 1004 is reflected by a rotary polygon mirror 1005 for scanning the surface of an electrostatic drum 1006. An electrostatic latent image of the character patterns is thus formed on the electrostatic drum 1006. The latent image is developed by a developer unit 1007 provided near the surface of the electrostatic drum 1006. The developed image is transferred to recording paper. The recording paper used is of a cut-sheet type. The cut-sheet recording papers are stored in a paper cassette 1008, which is mounted to the LBP 1000. A pick-up roller 1009 and conveying rollers 1010, 1011 feed a cut-sheet recording paper from the cassette 1008 to the electrostatic drum 1006 inside the apparatus.

The construction of the system according to this embodiment is illustrated in FIG. 1. In this figure, a host computer 1 outputs printing data including print data and control codes to a printing apparatus 2.

The printing apparatus 2 is composed of format control unit 21, an engine control unit 22 and a printer engine unit 23. The format control unit 21 is in turn composed of a command analyzing unit 211, a command executing unit 212, and an output control unit 213, and the format control unit 21 comprises a printing control means according to the present invention. The printing information from the host computer 1 is stored in a reception buffer 2112, and is analyzed by a printing information processing unit 2111. The information processing unit 2111 determines whether the received printing information is a command concerning text description or a command concerning graphic description or a command of another kind. FIG. 7(a) shows a representative command for graphic description. If processing unit 2111 encounters a command like that in FIG. 7(A), then graphic description processing is performed. If, on the other hand, processing unit 2111 encounters a command like that in FIG. 7(b), which is a representative command for text description, then text description processing is performed.

Commands not concerning text or graphic description are executed by a command analyzing unit 211. A command concerning description is executed by a command executing unit 212. In the text description processing, text data is operated by a text description processing unit 2121, and the processed data is serially developed into dot data over a bit map memory 2123. In the graphic description processing, graphic data is operated by a graphic description processing unit 2122, and the processed data is serially developed into dot data over a bit map memory 2123. The developed dot data in either of the processings is serially sent to an output processing unit 2131 of an output control unit 213. The output processing unit 2131 converts the data from the bit map memory 2123 into a video signal. Graphic description data is processed to upgrade print quality by a smoothing circuit 2132 before conversion to a video signal. The video signal is outputted to the engine control unit 22. The output processing unit 2131 also exchanges information, as depicted by the dotted arrow, such as engine control commands and the status of various actions of a printer engine, with the engine control unit 22 in order to adjust the timing of image transfer to the engine control unit 22. A CPU 214 controls the overall control system of the format control unit 21, according to the control program of the CPU 214 stored in a ROM 2141. The engine control unit 22 controls various printing means of a printer engine unit 23. The printer engine unit 23 forms a permanently visible image on recording paper from the image described on the bit map memory according to the printing information received from the host computer.

The processing procedure according to this embodiment will be described with reference to the flowchart shown in FIG. 2. The processing steps are denoted by numerals 1 to 23. Before starting the print processing of one page, the description mode is initialized (Step 1). The printing data from the host computer 1 is stored in the reception buffer 2112 (Step 2). The printing information processing unit 2111 retrieves one command from the reception buffer 2112 (Step 3). The printing information processing unit 2111 finds out whether the retrieved command is a command concerning text or graphic description processing (Step 4). If it is a description-concerning command, processing proceeds to Step 5.

At step 5, it is checked whether the description mode has been determined. If it has been determined, processing proceeds to Step 9 without changing description modes. If it has not been determined, the printing information processing unit 2111 checks whether the retrieved command is a text description command or a graphic description command (Step 6). If it is a text description command, the text description mode is selected (Step 7). If it is a graphic description command, the graphic description mode is selected (Step 8).

At Step 9, it is checked whether the determined description mode is the text mode or the graphic mode. If it is the graphic description mode, processing proceeds to Step 10, where the graphic description processing unit 2122 develops the received graphic description command into dot data on the bit map memory 2123 to describe one page of a low-density (300 dpi) image thereon. When the description processing is completed, the procedure returns to Step 2. If, on the other hand, the description mode is the text description mode, the text description processing is performed but first processing from Step 2 to Step 9 is repeated until a paper-discharge command is retrieved.

If it is determined that the retrieved command is not a command concerning the description processing at Step 4, the procedure goes to Step 11, where it is determined whether the command is a paper-discharge command. If it is not a paper-discharge command, the command analyzing unit 211 executes the command (Step 12), and the procedure returns to Step 2.

If it is determined that the command is a paper-discharge command at Step 11, the procedure goes to Step 13, where it is determined whether the mode is the graphic description mode or the text description mode. In the graphic mode, the procedure goes to step 14, where the output processing is performed. In output processing, the output processing unit 2131 exchanges information, such as engine control commands or the status of various actions of the printer engine, with the engine control unit 22 and, thus, adjusts the timing of image transfer to the engine control unit 22. For example, the print resolutions at Step 17 and Step 21 are different from each other, and the appropriate resolution is set in output processing. The resolution can be changed by known means such as by varying beam clock frequency, and/or paper-feeding speed.

After output processing (Step 14), the content of the bit map memory 2123 is smoothed by the smoothing circuit 2134 (Step 15). The smoothed signals are converted to video signals to be outputted to the engine control unit 22 (Step 16). In smoothing-out processing, notches of the dot pattern are smoothed out, e.g. by reducing the diameter of the dots, in accordance with known technique such as those described in U.S. Pat. No. 4,878,068, the contents of which are incorporated herein by reference.

The engine control unit 22 performs print processing, i.e. controls various printing means of the printer engine unit 23 (Step 17). Then, the printer engine unit 23 forms a permanently visible image on recording paper and discharges such recording paper (Step 23). When the above-described processing is completed, the procedure returns to Step 1.

In the text description mode, the procedure goes from Step 13 to Step 18, where the text description processing unit 2121 develops dot data at a high-density image (600 dpi) from the retrieved text description command, on the bit map memory 2123. The capacity of the bit map memory 2123 is not so large as to store an entire page of a high-density image (600 dpi). Thus, the bit map memory 2123 stores, at any one time, only a portion (or band) thereof (e.g., a quarter of the page) defined by a virtual window assumed to move over the page of the printing paper on which the current printing is to be made, as shown in FIG. 4. In the text description mode, the above-mentioned description processing to the bit map memory 2123 is performed simultaneously with conversion processing of data to video signals and print processing. In other words, the virtual window moves in the direction indicated by the arrow in FIG. 4, at the same speed as the printing paper is conveyed. Processing of Steps 18 to 22 are simultaneously performed. At Step 19, the output processing unit 2131 exchanges information, such as engine control commands or the status of various actions of the printer engine, with the engine control unit 22 in order to adjust the timing of image transfer to the engine control unit 22. At Step 20, the dot data of the bit map memory 2123 is directly converted to video signals to be outputted to the engine control unit 22. At Step 21, the engine control unit 22 performs print processing by controlling various printing means of the printer engine unit 23. Also, the printer engine unit 23 prints a permanently visible image on the printing paper. The processing of Steps 18 to 21 is repeated until one page of the printing is completed (Step 22). When it is completed, the printed paper is discharged (Step 23).

When the above-described processing is completed, the procedure returns to Step 1.

Another Embodiment

In the above embodiment, the description mode is selected according to the analysis of inputted information (e.g. expressed in page description language). In this embodiment as illustrated in FIG. 5, each command retrieved is examined whether it is a text description command or a graphic description command. If the one page of retrieved data are all text description commands, the one page of data are divided into portions to be serially developed as a high-density image (600 dpi) on the bit map memory (band processing) and to be serially printed. If the one page of retrieved data includes any number of graphic description commands, the one page of data are developed as a low-density image (300 dpi) on the bit map memory. The developed dot data are smoothed for outputting.

As described above, in an output method according to the present invention, the print density is changed according to the kind of printing. Therefore, if this method is employed, a bit map memory of large capacity is not required. Highly-defined printing can be performed by a high-density (600 dpi) laser beam printer employing a bit map memory having the same capacity as the bit map memory employed in a conventional printer controller of low-density printing (300 dpi).

An output method according to the present invention comprises the steps of: analyzing the information, e.g. from a host computer, to determine whether the information is text data or graphic data; in the case of text data, dividing one page of data into portions to develop the data as dot patterns of high resolution; and, in the case of graphic data, developing the entire page of data as a dot pattern of low resolution. Such divided text description processing does not cause inconvenient delay because the development of text data into dot patterns is quick, compared with that of graphic data and can be completed before the developed dot patterns are printed.

An output apparatus according to the present invention comprises: an analyzing means for analyzing the information inputted thereto; and a developing means which, according to the analysis by the analyzing means, develops text data as dot patterns of high resolution and graphic data as dot patterns of low density.

While the present invention has been described with respect to what is presently considered to be the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, the invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. 

What is claimed is:
 1. A printer controller for controlling a printing operation of a printer based on output information of one page inputted from an external apparatus, comprising:input means for inputting the output information of one page from the external apparatus; and control means for controlling the printing operation based on the output information inputted by said input means, said control means controlling the print operation so as to print in synchronism with whether generation of image data proceeds in band units or whether generation of image data proceeds in page units.
 2. A printer controller according to claim 1, wherein said control means controls the printing operation based on mode information included in the output information inputted by said input means.
 3. A printer controller according to claim 1, wherein said control means controls the printing operation based on the result of analyzing the output information inputted by said input means.
 4. A printer controller according to claim 1, wherein said control means controls the printing operation to print by smoothing the generated image data in page units in a case that said control means controls the printing operation to be in synchronism with generation of image data in page units.
 5. A printer controller according to claim 1, further comprising a printer for printing out generated image data.
 6. A printer controller according to claim 1, further comprising judging means for judging whether to perform the printing operation of the printer with a high resolution or with a low resolution, based on the output information inputted by said input means, wherein said control means controls the printing operation of the printer to proceed in synchronism with generation of image data in band units in a case that said judging means judges to print with high resolution, and wherein said control means controls the printing operation of the printer to proceed in synchronism with generation of image data in page units in a case that said judging means judges to print with low resolution.
 7. A printer controller according to claim 6, wherein said judging means judges to print with high resolution in a case that the inputted output information is text data, and said judging means judges to print with low resolution in a case that the inputted output information is graphic data.
 8. A method for controlling a printing operation of a printer based on output information of one page inputted from an external apparatus, comprising the steps of:inputting the output information of one page from the external apparatus; and controlling the printing operation based on the output information inputted in said input step, said controlling step controlling the print operation so as to print in synchronism with whether generation of image data proceeds in band units or whether generation of image data proceeds in page units.
 9. A method according to claim 8, wherein said controlling step controls the printing operation based on mode information included in the output information inputted in said input step.
 10. A method according to claim 8, wherein said controlling step controls the printing operation based on the result of analyzing the output information inputted in said input step.
 11. A method according to claim 8, wherein said controlling step controls the printing operation to print by smoothing the generated image data in page units in a case that said controlling step controls the printing operation to be in synchronism with generation of image data in page units.
 12. A method according to claim 8, further comprising the step of printing out generated image data.
 13. A method according to claim 8, further comprising the step of judging whether to perform the printing operation of the printer with a high resolution or with a low resolution, based on the output information inputted in said input step, wherein said controlling step controls the printing operation of the printer to proceed in synchronism with generation of image data in band units in a case that said judging step judges to print with high resolution, and wherein said controlling step controls the printing operation of the printer to proceed in synchronism with generation of image data in page units in a case that said judging step judges to print with low resolution.
 14. A method according to claim 13, wherein said judging step judges to print with high resolution in a case that the inputted output information is text data, and said judging step judges to print with low resolution in a case that the inputted output information is graphic data.
 15. A memory medium for storing computer executable process steps to control a printing operation of a printer based on output information of one page inputted from an external apparatus, said process step comprising:a step to input the output information of one page from the external apparatus; and a step to control the printing operation based on the output information inputted in said input step, wherein the print operation is controlled so as to print in synchronism with whether generation of image data proceeds in band units or whether generation of image data proceeds in page units.
 16. A memory medium according to claim 15, wherein the printing operation is controlled based on mode information included in the output information inputted in said input step.
 17. A memory medium according to claim 15, wherein the printing operation is controlled based on the result of analyzing the output information inputted in said input step.
 18. A memory medium according to claim 15, wherein the printing operation is controlled to print by smoothing the generated image data in page units in a case that the printing operation is controlled to be in synchronism with generation of image data in page units.
 19. A memory medium according to claim 15, wherein said process steps further comprise a step for printing out generated image data.
 20. A memory medium according to claim 15, wherein said process steps further comprise a step to judge whether to perform the printing operation of the printer with a high resolution or with a low resolution, based on the output information inputted in said input step, wherein the printing operation of the printer is controlled to proceed in synchronism with generation of image data in band units in a case that said judging step judges to print with high resolution, and wherein the printing operation of the printer is controlled to proceed in synchronism with generation of image data in page units in a case that said judging step judges to print with low resolution.
 21. A memory medium according to claim 20, wherein said judging step judges to print with high resolution in a case that the inputted output information is text data, and said judging step judges to print with low resolution in a case that the inputted output information is graphic data.
 22. A printer control apparatus for generating and outputting image data, said apparatus comprising:input means for inputting control data from an external device; generating means for generating image data in response to the control data and for storing the generated image data in a storage device from which the image data can be read for printing; and control means for controlling switching of said generating means on the basis of the control data between a first mode in which the image data of a page is generated in bands and stored in said storage device and a second mode in which the image data of one page is stored as a page in said storage device.
 23. A printer control apparatus according to claim 22, wherein in said first mode the image data is generated in units of bands with a first resolution, and in said second mode the image data is generated with a second resolution lower than the first resolution.
 24. A printer control apparatus according to claim 23, further comprising processing means adapted to smooth the image data generated at said second resolution.
 25. A printer control apparatus according to claim 22, further comprising printing means for printing an image based on the image data read from said storage device.
 26. A printer control apparatus according to claim 23, further comprising means for determining, on the basis of the control data, whether the image data is to be generated with the first resolution or with the second resolution.
 27. A printer control apparatus according to claim 26, further comprising analyzing means for analyzing the control data to determine whether the control data is text data or graphics data, and wherein the image data is generated in said first mode when said analyzing means determines that the control data represents text data and the image data is generated in said second mode when said analyzing means determines that the control data is graphics data.
 28. A method of controlling a printer to generate and output image data, said method comprising the steps of:receiving control data from an external device; generating image data using a generating means, in response to the control data; storing the generated image data in a storage device from which the image data can be read for printing; and controlling switching of said generating means on the basis of the control data between a first mode in which the image data of a page is generated in bands and stored in said storage device and a second mode in which the image data of one page is stored as a page in said storage device.
 29. A method according to claim 28, wherein said first mode the image data is generated in units of bands with a first resolution, and in said second mode the image data is generated with a second resolution lower than the first resolution.
 30. A method according to claim 29, further comprising a step of smoothing the image data generated at said second resolution.
 31. A method according to claim 28, further comprising a step of printing an image based on the image data read from said storage device.
 32. A method according to claim 29, further comprising a step of determining, on the basis of the control data, whether the image data is to be generated with the first resolution or with the second resolution.
 33. A method according to claim 32, further comprising a step of analyzing the control data to determine whether the control data is text data or graphics data, and wherein the image data is generated in said first mode when the control data represents text data and the image data is generated in said second mode when the control data is graphics data. 